Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement density matrix simulation via full tensor network contraction #88

Merged
merged 20 commits into from
Jan 29, 2021

Conversation

1tnguyen
Copy link
Member

Related to #84 and #87

Implemented a noisy simulation (exatn-dm) via full tensor network contraction. Gates and Kraus tensors are appended --> perform a full contraction. Support retrieval of the density matrix up to 10 qubits. Exp-val calc. (no limit on the number of qubits) is performed by tracing the tensor network (closing the bra and ket legs).

Also, added backend key as a way to specify the visitor name.

Thien Nguyen added 20 commits January 21, 2021 09:33
Signed-off-by: Thien Nguyen <[email protected]>
Also, expose ExecutionInfo to return density matrix for testing.

Signed-off-by: Thien Nguyen <[email protected]>
First, test w/ no noise, just looking at the final density matrix

Signed-off-by: Thien Nguyen <[email protected]>
Signed-off-by: Thien Nguyen <[email protected]>
Legs of output tensor are re-shuffled after Kraus tensor connection.

Affecting multi-qubit cases. Waiting for a new ExaTN API to handle this use case...

Signed-off-by: Thien Nguyen <[email protected]>
Appending Z tensors at measure locations then closing the bra and ket legs to compute the trace.

Signed-off-by: Thien Nguyen <[email protected]>
Signed-off-by: Thien Nguyen <[email protected]>
Fixing the output leg ordering issue.

Signed-off-by: Thien Nguyen <[email protected]>
(i.e. support the tnqvm:visitor format)

Signed-off-by: Thien Nguyen <[email protected]>
and update the one found

Signed-off-by: Thien Nguyen <[email protected]>
added an integration test with VQE.

Signed-off-by: Thien Nguyen <[email protected]>
@1tnguyen 1tnguyen merged commit 347f9d3 into ORNL-QCI:master Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant